package org.boyan.modules.service;

import org.boyan.entity.cases.Case;
import org.boyan.modules.vo.CaseVo;

import java.util.List;

public interface CaseService {

    boolean addCase(Case caseEntity);

    List<CaseVo> getCaseVoList(int current, int size, Case caseCriteria);

    int getTotalByCriteria(Case caseCriteria);

    Case getCaseInfoById(String id);

    boolean editCase(Case caseInfo);

    boolean auditCase(String id);

    boolean returnCase(String id);

    boolean deleteCase(String id);

    boolean changeCaseStatus(int caseStatus, String id);

    boolean allocateCaseByCaseId(String developPrincipal, String caseId);
}
